/**
 * Created by zhouyou on 2018/9/7.
 */
import {axios} from './axios'

export default {

  /**
   * 文章详情
   * @param parmas
   * @returns {*}
   */
  articleInfo (parmas) {
    return axios.post('smartShoes/it/detail.json', parmas)
  },

  /**
   * 评论列表
   * @param parmas
   * @returns {*}
   */
  commentList (parmas) {
    return axios.post('smartShoes/it/comment/list.json', parmas)
  },

  /**
   * 点赞
   * @param parmas
   * @returns {*}
   */
  toPraise (parmas) {
    return axios.post('smartShoes/social/praise.json', parmas)
  },

  /**
   * 发表评论
   * @param parmas
   * @returns {*}
   */
  toComment (parmas) {
    return axios.post('smartShoes/it/comment/release.json', parmas)
  }
}
